<ul>
    {% for post in latest_posts %}
    <li>
        <a href="{{ post.get_absolute_url}}">{{post.title}}</a>
    </li>
    {% endfor %}
</ul>
    